package com.his.dao.mapper;

import com.his.dao.domain.entity.Medicine;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author fall
 * @since 2022-11-28
 */
@Mapper
public interface MedicineMapper extends BaseMapper<Medicine> {
    List<Object> selectAll(String name, Integer hospitalId, Integer page, Integer pageSize);
    long selectAllCount(String name, Integer hospitalId);

    List<Object> selectAllByName(String name);
}
